import {createRouter, createWebHashHistory, type RouteRecordRaw} from "vue-router";
import LinkSearch from "@/views/link_search/index.vue"
import OrderSearch from '@/views/order_search/index.vue'
import softwareQuery from "@/views/software_query/index.vue"

const routes:RouteRecordRaw[] = [
    { path: "/", redirect: "/order" },
    { path: '/link', name: "link", component: LinkSearch },
    { path: '/order', name: "order", component: OrderSearch },
    { path: '/query', name: "query", component: softwareQuery }
]

export const router = createRouter({
    history: createWebHashHistory(),
    routes,
})
